-
Notifications
You must be signed in to change notification settings - Fork 16
Ft/debug utils #113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Ft/debug utils #113
Conversation
…-create-aa-env-in-devnet
🛡️ Immunefi PR ReviewsYour project is enrolled in automatic code reviews. We've received your submission and are currently assigning a reviewer from our team. You'll hear back shortly once a reviewer is on it. Appreciate your patience — we'll keep you posted right here. |
@mdtanrikulu something is happenning but I couldn'r figure it out with the deploykit aa script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put this port because this changes on devnet.
Debug feats
Scripts Documentation
Quick reference for the available scripts in this project.
📋 List Registered Names
Script:
listRegisteredNames.ts
Command:
bun run list-names
Purpose: Lists all registered domain names in a table format
Shows: Name, Owner, Duration, Total Cost (USD)
Use case: Check which names are registered and who owns them
🪙 Mint Mock Tokens
Script:
mintTokensDirect.ts
Command:
bun run mint-tokens <WALLET_ADDRESS>
Purpose: Mints 1000 MockUSDC and 1000 MockDAI to a specified address
Use case: Give test tokens to addresses for testing name registration
👀 Watch Name Registrations
Script:
watchNameRegistrations.ts
Command:
bun run watch-names
Purpose: Real-time monitoring of new name registrations
Shows: New registrations as they happen with owner and cost details
Use case: Monitor registration activity during development/testing
🌐 CORS Proxy
Script:
corsProxy.ts
Command:
bun run cors-proxy
Purpose: Adds CORS headers to Alto bundler responses for frontend access
Port: 4339 (proxies to Alto L2 on 4338)
Use case: Enable frontend to communicate with AA infrastructure
🚀 Development Environment
Script:
runDevnet.ts
Command:
bun run devnet
Purpose: Sets up the complete development environment with AA Kit
Shows: Contract addresses, endpoints, test accounts
Use case: Initialize the local development setup
📝 Usage Examples
🔧 Prerequisites